:root {
  --baseFontSize: 14px;
}

html,
body,
#app {
  height: 100%;
  width: 100%;
}

#app {
  display: flex;
  flex-direction: column;
}

#app-top,
#app-footer {
  height: 0.5rem;
}

#app-content {
  flex: 1;
  overflow: auto;
  top: 0;
  left: 0;
}

/* #app-header */

#app-top {
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  background-color: white;
  width: 100%;
}

.back-icon {
  width: 18px;
  height: 18px;
  display: block;
  line-height: 0.5rem;
}

/* #app-content */

#app-content {
  position: relative;
}

#round-content {
  background-color: white;
  box-sizing: border-box;
  padding: 0 15px;
  position: absolute;
  top: 2.5rem;
  width: 100%;
  overflow: hidden;
  height: auto;
  border-radius: 20px 20px 0px 0px;
  -webkit-border-radius: 20px 20px 0px 0px;
  -moz-border-radius: 20px 20px 0px 0px;
  -ms-border-radius: 20px 20px 0px 0px;
  -o-border-radius: 20px 20px 0px 0px;
  border-top: 1px solid #ccc;
}

.floor-name {
  font-size: 18px;
  color: #4d4d4d;
  margin-top: 24px;
}

.floor-tips-item {
  background-color: #fbebff;
  font-size: 12px;
  transform: scale(1);
  color: #bc25dd;
  text-align: center;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  padding: 4px;
  /* margin-left: 5px; */
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  display: inline-block;
  margin-right: 8px;
  margin-top: 4px;
}

.floor-tips-item:nth-of-type(1) {
  margin-left: 0;
}

.floor-info {
  margin-top: 32px;
}

.average-info {
  margin-top: 12px;
  display: flex;
  align-items: center;
}

.info-name {
  width: 64px;
  color: #666666;
  font-size: var(--baseFontSize);
}

.info-c {
  font-size: var(--baseFontSize);
  margin-left: 10px;
}

.info-c-color {
  color: #bc25dd;
}

.data-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.2rem;
}

.data-title h2 {
  font-size: 16px !important;
  color: #1a1a1a !important;
}

.data-query-time .van-button {
  height: 24px !important;
  width: 36px !important;
  padding: 0 0 !important;
  font-size: 12px;
  transform: scale(0.83);
  -webkit-transform: scale(0.83);
  -moz-transform: scale(0.83);
  -ms-transform: scale(0.83);
  -o-transform: scale(0.83);
}

.data-list {
  display: flex;
  justify-content: space-around;
  padding: 0.2rem 0;
}

.data-list-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.data-text {
  margin-top: 0.08rem;
  font-size: var(--baseFontSize);
  color: #4d4d4d;
}

.data-num {
  font-size: 28px;
  color: #af00c8;
}

.floor-message-title {
  font-size: 16px;
  color: #1a1a1a;
}

.message-list-item {
  font-size: var(--baseFontSize);
  color: #808080;
  margin-top: 0.1rem;
}

.message-list-item-content {
  margin-left: 0.05rem;
  color: #1a1a1a;
  font-size: 14px;
}

.floor-house-type {
  margin-top: 0.2rem;
  padding-bottom: 0.1rem;
}

.floor-house-item {
  width: 50%;
  margin-top: 0.2rem;
}

.floor-house-item:nth-of-type(1) {
  margin-top: 0;
}

.floor-house-item:nth-of-type(2) {
  margin-top: 0;
}

.floor-house-item-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floor-house-item-img img {
  width: 30%;
  height: 70%;
}

.floor-house {
  display: flex;
  flex-wrap: wrap;
}

.floor-house-item-tips {
  margin-top: 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.floor-house-item-area {
  font-size: var(--baseFontSize);
  color: #4d4d4d;
}

.floor-house-item-price {
  font-size: var(--baseFontSize);
  color: #af00c8;
  margin-top: 0.08rem;
}

/* #app-footer  */
#app-footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#app-footer .van-button {
  font-size: 14px !important;
  color: #ffffff !important;
  height: 0.35rem !important;
  width: 1.7rem !important;
  padding: 0 0 !important;
  text-align: center !important;
}

/* 动画效果 */

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}

.isActive {
  background-color: #af00c8 !important;
  color: white !important;
}

.van-swipe-item {
  width: 100%;
  height: 3rem;
}

.van-swipe-item img {
  display: block;
  width: 100%;
  height: 3rem;
}

.fail-title-color {
  color: #af00c8;
}
